const { Backend, Joi } = require('dx-router-admin');

module.exports = class ResourceGroup extends Backend {
	constructor(ctx) {
		super(ctx);
		this.dto = {
			name: Joi.string()
				.required()
				.error(new Error(ctx.$t('名称不能为空'))),
		};
	}
};
